package com.manager.devicemanager.service;

import com.manager.devicemanager.entity.ComponentRecordTemplate;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Collection;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
public interface IComponentRecordTemplateService extends IService<ComponentRecordTemplate> {

    /**
     * <p>
     * 批量insert,主键冲突时update
     * </p>
     *
     *
     * @param list
       * @author: wpf
       * @since: 2025-05-29
     */
    void batchInsertOnDuplicateKeyUpdate(Collection<ComponentRecordTemplate> list);
    
    /**
     * <p>
     * 批量insert,主键冲突时忽略
     * </p>
     *
     *
     * @param list
   * @author: wpf
   * @since: 2025-05-29
     */
    void batchInsertOnDuplicateKeyIgnore(Collection<ComponentRecordTemplate> list);

}
